DatabaseDomain

class DatabaseDomain : Domain

DatabaseDomain represents Database protocol domain request/response operations and events that can be captured.

This API is marked as experimental in protocol definition and can change in the future.

Functions

addDatabase
Link copied to clipboard
fun addDatabase(): Flowable<AddDatabaseEvent>
Returns observable capturing all Database.addDatabase events.
description
Link copied to clipboard
fun description(): String
Returns domain description.
disable
Link copied to clipboard
fun disable(): Single<RequestResponseFrame>
Disables database tracking, prevents database events from being sent to the client.
enable
Link copied to clipboard
fun enable(): Single<RequestResponseFrame>
Enables database tracking, database events will now be delivered to the client.
events
Link copied to clipboard
fun events(): Flowable<Event>
Returns flowable capturing all domains events.
fun events(filter: Predicate<Event>): Flowable<Event>
Returns flowable capturing all domains events matching predicate.
fun <T : Event> events(eventClass: Class<T>): Flowable<T>
Returns flowable capturing all domain events of a given type.
fun <T : Event> events(eventClass: Class<T>, filter: Predicate<T>): Flowable<T>
Returns flowable capturing all domain events of a given type matching predicate.
executeSQL
Link copied to clipboard
fun executeSQL(input: ExecuteSQLRequest): Single<ExecuteSQLResponse>
getDatabaseTableNames
Link copied to clipboard
getDependencies
Link copied to clipboard
open fun getDependencies(): List<Domain>
Returns domain dependencies.
name
Link copied to clipboard
fun name(): String
Returns domain name.

Sources

jvm source
Link copied to clipboard